home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / cbm / 5952 < prev    next >
Encoding:
Text File  |  1996-08-05  |  2.4 KB  |  73 lines

  1. Path: news.uni-c.dk!news
  2. From: Ejner <d6kn@esbjehs.dk>
  3. Newsgroups: comp.sys.cbm
  4. Subject: Re: Unlock Disk, 1541
  5. Date: Sun, 21 Apr 1996 14:36:14 -0100
  6. Organization: Esbjerg Business College
  7. Message-ID: <317A55EE.2ADA@esbjehs.dk>
  8. References: <3176F97B.1390@esbjehs.dk> <3177c00b.1948181@199.181.141.3> <4l8od0$eng@sdcc12.ucsd.edu>
  9. NNTP-Posting-Host: hermes.esbjehs.dk
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=iso-8859-1
  12. Content-Transfer-Encoding: 8bit
  13. X-Mailer: Mozilla 2.0 (Win16; I)
  14.  
  15. Guillermo Alvarez wrote:
  16. > What Tony suggests is true; however, I did it much more easily in my
  17. > 1571 several years ago.  I had a ROM disassembly of the drive, and there
  18. > I found the couple of instructions that checked for this special value
  19. > on the disk.  I simply copied the whole ROM to RAM, altered this couple
  20. > of bytes so that the result of the test would be irrelevant, and changed
  21. > the memory map of the drive to use the modified routines in RAM.  I then
  22. > used the DOS interface as usual to overwrite the sector, and got the job
  23. > done.
  24. > Guillermo
  25. > Tony Postmayer wrote:
  26. > |> Ejner <d6kn@esbjehs.dk> wrote:
  27. > |>
  28. > |> > Does anyone know how to unlock a locked disk (1541 formattet) ?
  29. > |>
  30. > |> Just to give you an idea, here's a rough flowchart of what has to be
  31. > |> done:
  32. > |>
  33. > |>     Turn the motor on and give it time to come up to speed
  34. > |>     Figure out what track you are on
  35. > |>     Step the head to the target track
  36. > |>     Seek the target sector
  37. > |>     Read in the target data block
  38. > |>     Convert from GCR to Petscii
  39. > |>
  40. > |>     Make your alterations
  41. > |>
  42. > |>     Convert from Petscii to GCR
  43. > |>     Seek the target sector
  44. > |>     Write out the data
  45. > |>     Shut everything down
  46.  
  47.  
  48. Ejner again:
  49. Thanks for your advices... It seems as this is even more tricky, than I had 
  50. imagined... It┤s all very complex and doesn┤t sound too compatible with f.i. 
  51. 1541/1571 formatted disks... I hoped there was a command or something that 
  52. would allow you to *force* a write to the disk, regardless of the format...
  53.  
  54. But, reading your mail, I thought of what I would personally describe as 
  55. simply brilliant:
  56.  
  57. Would it be possible to do like this:
  58.  
  59. 1. Read track 18, sector 00.
  60.  
  61. 2. "New" the disk.
  62.  
  63. 3. Write new track 18, sector 00.
  64.  
  65. ???... I┤ll try it as soon as I go home! It almost sounds too easy, though, 
  66. but I┤ll post you the results in the newsgroup...
  67.  
  68. yours...
  69. Ejner                    mailto:d6kn@esbjehs.dk
  70.